package com.gsafety.wellsfort.domain.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.gsafety.wellsfort.domain.model.course.Course;
import com.gsafety.wellsfort.domain.model.course.LessonPeriod;
import com.gsafety.wellsfort.domain.model.knowledge.ExamPaper;
import com.gsafety.wellsfort.domain.model.knowledge.Work;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value = "我的考试封面")
public class MyExamDetailVO {
    /**
     *
     */
    private Integer id;

    @ApiModelProperty(value = "学生用户ID")
    private Integer studentId;

    @ApiModelProperty(value = "考试发布记录ID")
    private Integer examPublishId;

    @ApiModelProperty(value = "考试")
    private ExamPaper examPaper;

    @ApiModelProperty(value = "关联课程")
    private Course course;

    @ApiModelProperty(value = "关联课时")
    private LessonPeriod lessonPeriod;

    @ApiModelProperty(value = "考试得分")
    private BigDecimal score;

    @ApiModelProperty(value = "是否及格")
    private Byte isPassed;

    @ApiModelProperty(value = "完成状态")
    private Byte finishState;

    @ApiModelProperty(value = "完成时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date endTime;

}
